const app=getApp();
Page({
  data: {
    recordList:[],
    style:["","充值","购物返现","购物消费"]
  },
  onLoad: function (options) {
    var that=this;
    app.func.postReq('/text/index.php/home/user/myrecord',{},function(res){
      that.setData({
        recordList:res.record?res.record:null
      })
    })
  },
})